#include <QApplication>
#include "DemoWidget.h"

int ui(int argc, char **argv)
{
    QApplication application(argc, argv);

    DemoWidget window;
    window.setWindowTitle("Qt Example");
    window.setGeometry(100, 100, 1200, 800);

    window.show();
    int res = application.exec();
    return res;
}

int main(int argc, char **argv)
{
    return ui(argc, argv);
}